package com.unknow.first.dapp.admin.account.mapper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName t_address_account_info
 */
@TableName(value = "t_address_account_info")
@Data
@JsonInclude(Include.NON_NULL)
public class AddressAccountInfo implements Serializable {

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long addressAccountId;

    /**
     * 地址
     */
    private String address;

    /**
     * 币种id
     */
    private Integer coinId;

    /**
     * 简称
     */
    private String coinSymbol;

    /**
     * 名称
     */
    private String coinName;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 冻结金额
     */
    private BigDecimal freezeAmount;

    /**
     *
     */
    private String createdBy;

    /**
     *
     */
    private Date createdDate;

    /**
     *
     */
    private String updatedBy;

    /**
     *
     */
    private Date updatedDate;

    /**
     * 10：结算中 99：禁用
     */
    private Integer status;

    @TableField(exist = false)
    @ApiModelProperty("USDT价值")
    private Integer coinStatus;

    @TableField(exist = false)
    @ApiModelProperty("转账状态（10-开启；20-关闭）")
    private Integer transferStatus;

    @TableField(exist = false)
    @ApiModelProperty("帐户状态")
    private Integer accountStatus;

    @TableField(exist = false)
    @ApiModelProperty("支付合约")
    private String payContract;

    @TableField(exist = false)
    @ApiModelProperty("Token合约")
    private String tokenContract;


    /**
     * 每日提现限额，超出此限额不能提现
     */
    private BigDecimal withdrawPerDayLimit;

    @TableField(exist = false)
    @ApiModelProperty("USDT价值")
    private BigDecimal usdtValue;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}